/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DataConverters.interfaces.dataformulaobject.impl;

import DataConverters.interfaces.dataformulaobject.intefaces.BooleanFormulaCell;
import DataConverters.interfaces.dataformulaobject.intefaces.CellType;


/**
 *
 * @author Nobody
 */
public class DefaultBooleanFormulaCell extends CommonFormulaCell implements BooleanFormulaCell {

    private boolean value;

    public DefaultBooleanFormulaCell(int column, int row, CellType cellType, String formula,boolean bool) {
        super(column, row, cellType, formula);
        this.value = bool;
    }

    public boolean getValue() {
        return value;
    }

    @Override
    public String getContents() {
        return Boolean.toString(value);
    }

   

}
